package com.keai.controller;

import com.alibaba.dubbo.config.annotation.Reference;
import com.keai.entity.PageResult;
import com.keai.entity.QueryPageBean;
import com.keai.service.LogService;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Arrays;
import java.util.Date;

@RestController
@RequestMapping("/logcontroller")
public class LogController {
    @Reference
    LogService logService;
    @RequestMapping("/findLog")
    public PageResult logcontroller(@RequestBody QueryPageBean queryPageBean,String T1,String T2){

        PageResult pageResult=logService.findLog(queryPageBean,T1,T2);

  return pageResult;
    }
}
